package com.ioc.factorybean;

import com.ioc.color.Color;
import org.springframework.beans.factory.FactoryBean;

/**
 * @author cyt
 * @create 2020-07-30 下午 10:01
 */
public class ColorFactory implements FactoryBean<Color> {
    public Color getObject() throws Exception {
        return new Color();
    }

    public Class<?> getObjectType() {
        return Color.class;
    }

    public boolean isSingleton() {
        return false;
    }
}
